package store

import (
	"manager/model"
	"manager/model/entity"
)

type IEbikeType interface {
	Create(e *entity.EbikeType) (int64, error)
	Find(id int64) (*entity.EbikeType, error)
	Update(id int64, updates map[string]interface{}) error
	Delete(id int64) error
	List(in *model.EbikeTypeListRequest) (int, []*model.EbikeTypeListInfoResponse, error)
	ParentList(in *model.ParentEbikeTypeRequest) ([]*model.ParentEbikeTypeList, error)
}
